package com.example.tcpConnect;

class dataParam {
    private String test;

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }
}
/*
用于js-java传递需要连接的网络地址
 */
class SocketAddress{
    private String ip;
    private int port;
    private String localIp;

    public String getIp(){return ip;}

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getLocalIp() {
        return localIp;
    }

    public void setLocalIp(String localIp) {
        this.localIp = localIp;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}